package com.coin.feignclient;

import com.coin.api.dto.UserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @Auther: 李 力
 * @Date: 2025/6/9
 * @Description: com.coin.feignclient
 * @version: 1.0
 */
@FeignClient(value = "member-service", path = "/users")
public interface SysUserFeignClient {

    @GetMapping("/basic/users")
    public List<UserDto> getBasicUsers(@RequestParam("ids") List<Long> ids);
}
